<html>

<head>
<title>Chapter 3 Examples</title>
</head>

<body link="#000000" vlink="#000000" alink="#000000">

<p>&#160; </p>
<table border="4" width="570" bordercolorlight="#C0C0C0" bordercolor="#00FFFF" bordercolordark="#808080" style="border-collapse: collapse" cellpadding="0" cellspacing="0">
  <tbody>
  <tr>
    <td bgcolor="#0000FF" colspan="2" width="562">
    <font face="Arial Black" color="#ffffff">JSTL: JSP Standard Tag Library</font><font color="#FFFFFF" face="Arial Black"> (by
    <a href="http://www.jeffheaton.com/"><font color="#FFFFFF">Jeff Heaton</font></a>)<br />
    Chapter 3: Understanding Basic Tag Logic</font><br />
    <a href="../index.html"><font face="Arial" color="#FFFFFF" size="1">
    <font color="#FFFF00">(return to contents)</font></font></a> </td>
    </tr>
    <tr>
      <td colspan="2">
      <p align="center"><b><font size="4">Exceptions</font></b> </p>
      </td>
    </tr>
    <tr>
      <td width="95"><font face="Tahoma"><b><a href="exception/exception.jsp">Listing 
      3.1</a></b></font> </td>
      <td width="466">Division by zero is not an exception</td>
    </tr>
    <tr>
      <td width="95"><font face="Tahoma"><b><a href="exception/exception2.jsp">Listing 
      3.2</a></b></font> </td>
      <td width="466">An uncaught exception (page will display an error)</td>
    </tr>
    <tr>
      <td width="95"><font face="Tahoma"><b><a href="exception/catch.jsp">Listing 
      3.3</a></b></font> </td>
      <td width="466">Catch division by zero</td>
    </tr>
    <tr>
      <td width="95"><a href="exception/catch2.jsp"><b><font face="Tahoma">Listing 
      3.4</font></b></a></td>
      <td width="466">Catch an exception</td>
    </tr>
    <tr>
      <td colspan="2">
      <p align="center"><font size="4"><b>Conditions</b></font> </p>
      </td>
    </tr>
    <tr>
      <td width="95"><font face="Tahoma"><b><a href="condition/ifbody.jsp">Listing 
      3.5</a></b></font></td>
      <td width="466">If statement with a body</td>
    </tr>
    <tr>
      <td width="95"><font face="Tahoma"><b><a href="condition/ifnobody.jsp">Listing 
      3.6</a></b></font></td>
      <td width="466">If statement with no body</td>
    </tr>
    <tr>
      <td width="95"><font face="Tahoma"><b><a href="condition/choose.jsp">Listing 
      3.7</a></b></font></td>
      <td width="466">Mutual exclusion</td>
    </tr>
    <tr>
      <td width="95"><font face="Tahoma"><b><a href="condition/ifelse.jsp">Listing 
      3.8</a></b></font></td>
      <td width="466">&quot;If&quot; statement with &quot;else&quot;</td>
    </tr>
    <tr>
      <td colspan="2">
      <p align="center"><b><font size="4">Chat Application</font></b> </p>
      </td>
    </tr>
    <tr>
      <td width="95"><font face="Tahoma"><b><a href="chat/index.html">Listing 3.9</a></b></font></td>
      <td width="466">Chat login</td>
    </tr>
    <tr>
      <td width="95"><font face="Tahoma"><b>Listing 3.10</b></font></td>
      <td width="466">Main chat page</td>
    </tr>
  </tbody>
  </table>

</body>

</html>